/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

public class XlTrendlineType {
	private final int value;

	/** xlExponential **/
	public static final XlTrendlineType Exponential = new XlTrendlineType(5);
	/** xlLinear **/
	public static final XlTrendlineType Linear = new XlTrendlineType(-4132);
	/** xlLogarithmic **/
	public static final XlTrendlineType Logarithmic = new XlTrendlineType(-4133);
	/** xlMovingAvg **/
	public static final XlTrendlineType MovingAvg = new XlTrendlineType(6);
	/** xlPolynomial **/
	public static final XlTrendlineType Polynomial = new XlTrendlineType(3);
	/** xlPower **/
	public static final XlTrendlineType Power = new XlTrendlineType(4);


	private XlTrendlineType(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static XlTrendlineType valueOf(int value) { return new XlTrendlineType(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != XlTrendlineType.class) return false;
		return ((XlTrendlineType)o).value == value;
	}
	public int hashCode() { return value; }
}
